// 自动生成模板Disease
package health

// Disease 结构体
type Disease struct {
	ID          uint        `json:"id" form:"id" gorm:"column:id;comment:id;"`
	Name        string      `json:"name" form:"name" gorm:"column:bz_name;comment:名称;"`
	BzlxID      uint        `json:"bzlx_id" form:"bzlx_id" gorm:"column:bzlx_id;comment:病症类型id;"`
	DiseaseList DiseaseList `json:"-" form:"-" gorm:"->;foreignKey:BzlxID;references:ID;"` // 关联病症类型
}

// TableName Disease 表名
func (Disease) TableName() string {
	return "fd_bz"
}
